package cn.js.sip.rat.task.entity;

import cn.js.sip.rat.system.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @ClassName: cn.js.sip.rat.task.entity
 * @Description: TODO
 * @author: xuxiaoli
 * @Date: 2020-01-15   9:56
 */
@TableName("JOB_INFO")
public class JobInfoEntity extends BaseEntity {
    /**
     * 定时任务名称
     */
    private String jobName;
    /**
     * 定时任务组
     */
    private String jobGroup;
    /**
     * 执行bean
     */
    private String beanClass;
    /**
     * 执行方法
     */
    private String methodName;
    /**
     * 执行参数
     */
    private String paramValue;
    /**
     * cron表达式
     */
    private String cronExpression;
    /**
     * 计划执行错误策略（1立即执行 2执行一次 3放弃执行）
     */
    private String misfirePolicy;
    /**
     * 是否并发执行（0允许 1禁止）
     */
    private Integer concurrent;
    /**
     * 状态（0正常 1暂停）
     */
    private Integer status;

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(String beanClass) {
        this.beanClass = beanClass;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getParamValue() {
        return paramValue;
    }

    public void setParamValue(String paramValue) {
        this.paramValue = paramValue;
    }

    public String getCronExpression() {
        return cronExpression;
    }

    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public String getMisfirePolicy() {
        return misfirePolicy;
    }

    public void setMisfirePolicy(String misfirePolicy) {
        this.misfirePolicy = misfirePolicy;
    }

    public Integer getConcurrent() {
        return concurrent;
    }

    public void setConcurrent(Integer concurrent) {
        this.concurrent = concurrent;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
